{
  "properties" : { },
  "id" : "5b83b8446d4140f5ac85bb2a7c983ebe",
  "script" : null,
  "groupId" : "8de86475cd4943e4be0d1edaf6d1df6c",
  "name" : "切换数据源",
  "createTime" : 1648867747748,
  "updateTime" : 1648867747748,
  "lock" : "0",
  "method" : "GET",
  "path" : "/test/getAll",
  "parameters" : [ ],
  "option" : "[]",
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null,
  "optionMap" : { }
}
================================
// 从数据源key定义为test的库中查询
var sql = "select * from tbl_bb";
return db.test.select(sql);